{include file="public_head" /}



<!-- Select2 -->

<link href="__STATIC__/css/select/select2.min.css" rel="stylesheet">

<!-- chk_3 -->

<link href="__STATIC__/css/chk_3.css" rel="stylesheet" type="text/css"/>



<body class="nav-md">



<div class="container body">





    <div class="main_container">



        {include file="public_sidebar,public_nav" /}



        <!-- page content -->

        <div class="right_col" role="main">

            <div class="">

                <div class="page-title">

                    <div class="title_left">

                        <h3>

                            会员管理

                        </h3>

                    </div>

                </div>

                <div class="clearfix"></div>



                <div class="row">



                    <div class="col-md-12 col-sm-12 col-xs-12">

                        <div class="x_panel">

                            <div class="x_title">

                                <h2>{$mate_title}</h2>


                                <div class="clearfix"></div>

                            </div>

                            <div class="x_content">

                                <form name="form" id="form" method="get" action="">

                                    <table class="table table-striped table-bordered">

                                        <thead>

                                        <tr>
                                            <th style="width: 5%;">排行</th>
                                            <th style="width: 10%;">会员账号</th>
                                            <th style="width: 10%;">会员昵称</th>
                                            <th style="width: 10%;">会员头像</th>
                                            <th>消费金额</th>
                                            <th>订单数</th>
                                        </tr>

                                        </thead>



                                        <tbody>

                                        {volist name="data" id="item" }

                                        <tr>

                                            <td>{$key}</td>
                                            <td>{$item.member.username}</td>
                                            <td align="center">
                                                <a path="__PUBLIC__/{$item.member.avatar}" class="preview">
                                                    <img id="imgShow" src="__PUBLIC__/{$item.member.avatar|default=''}" height="65" onerror="this.src='__STATIC__/images/add_img.png'"/>
                                                </a>
                                            </td>
                                            <td>{$item.member.nickname}</td>
                                            <td>{$item.price}</td>
                                            <td>{$item.order_count}</td>

                                        </tr>

                                        {/volist}

                                        </tbody>

                                        <tbody align="left">


                                        </tbody>

                                    </table>

                                    <!-- 分页 -->

                                    <div style="float: right;margin-top: -30px;">{$data->render()}</div>

                                </form>

                            </div>

                        </div>

                    </div>



                </div>

            </div>



        </div>

        <!-- /page content -->

    </div>



</div>



{include file="public_foot" /}



<!--select-->

<script src="__STATIC__/js/select/select2.full.min.js"></script>

<!-- public -->

<script src="__STATIC__/js/public.js"></script>

<!-- layer -->

<script src="__STATIC__/js/layer.js"></script>

<script type="text/javascript">

    // list

    $(document).ready(function () {

        // select2

        $(".select2_single").select2({

            placeholder: "请选择分类",

            allowClear: true

        });

    });

</script>

